<?php
/* @var $this CmsController */
/* @var $model Cms */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="section">
		<label><?php echo $form->label($model,'title'); ?></label>
		<div><?php echo $form->textField($model,'title',array('class'=>'large','maxlength'=>255)); ?></div>
	</div>

	
	<div class="section">
		<label><?php echo $form->label($model,'status'); ?></label>
		<div><?php echo $form->dropdownList($model,'status',array('1'=>'Active', '0'=>'Inactive'),array('class'=>'large','maxlength'=>1)); ?></div>
	</div>

	<div class="section">
		<label><?php echo $form->label($model,'created'); ?></label>
		<div><?php echo $form->textField($model,'created', array('class'=>'large datepicker', 'id'=>'datepick')); ?></div>
		
	</div>

	<div class="section buttons">
	<label>&nbsp;</label>
		<div><?php echo CHtml::submitButton('Search', array('class'=>'uibutton')); ?></div>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->
<style>
.datepicker{
	text-align:left;
}
</style>